package com.crm.service.crm.course.service;

import com.crm.model.common.dtos.ResponseResult;
import com.crm.model.crm.course.dtos.CourseDto;
import com.crm.model.crm.course.dtos.PageCourseDto;
import org.springframework.stereotype.Service;

@Service
public interface CourseService {
    ResponseResult findCourseIdOrNameOrCrowdOrCreatedTimeOrSubject(PageCourseDto dto);

    ResponseResult addCourse(CourseDto dto);

    ResponseResult deleteCourse(String courseId);

    ResponseResult updateCourse(CourseDto dto);
}
